To feel less depressed and lonely, limit social media use to 30 minutes a day, researchers say