Patients use healthcare services more when their regular GP leaves, study finds