Parents who make a pact to delay giving their children smartphones until 14 improve the mental health of the group as a whole, a study has suggested