Gender norms and STEM: the importance of friends for stopping leakage from the STEM pipeline