Mental health profile of the elderly community: a cross-sectional study