Social problems as factors affecting medical consultation: a comparison between general practice attenders and community probands with emotional distress