Opioid prescriptions after knee replacement: a retrospective study of pathways and prognostic factors in the Swiss healthcare setting