A study of school attendance and exclusions in secondary schools in England