Factors associated with self-perceived oral health in different age groups.