Prospective cohort study on the trajectory and association of perioperative anxiety and postoperative opioid-related outcomes