Age- and gender-specific prevalence and risk factors for depressive symptoms in the elderly: a population-based study