Polypharmacy in older patients with chronic diseases: a cross-sectional analysis of factors associated with excessive polypharmacy