The Education Secretary has said smartphones have “no place” in schools as she warned of the damage caused by social media and technology.