Effects of toothache on the educational and social status of children