Potentially inappropriate medications and medication combinations before, during and after hospitalizations: an analysis of pathways and determinants in the Swiss healthcare setting