Headteacher's tender note to her pupils goes viral