Patients in more deprived areas of Scotland get less contact time with GP staff, study finds