How Stereotypes Can Drive Women to Quit Science