Reasons for encounters, investigations, referrals, diagnoses and treatments in general practice in Sweden—a multicentre pilot study using electronic patient records