Trends in polypharmacy and potentially inappropriate medication (PIM) in older and middle-aged people treated for diabetes