Doctors wanted: no women need apply. Sexual barriers in the medical profession, 1835–1975