Antidepressant and antipsychotic prescribing in patients with type 2 diabetes in Scotland: a time-trend analysis from 2004-2021