Researchers say it is the first major study into the impact of social media on teens' mental health.