Systematic review on the prevalence of lack of capacity in medical and psychiatric settings.