Girls who experience school failure can suffer a serious bout of depression at the age of 21