Girls take academic failure harder than boys