Social media companies have come under fire over platforms’ impact on young people