Why do girls lose interest in STEM? New research has some answers