Medication complexity, prescription behaviour and patient adherence at the interface between ambulatory and stationary medical care