Sexual visions: images of gender in science and medicine between the eighteenth and twentieth centuries