Experts have found that texting between teachers and parents can lead to small improvements in attendance, a study has found.