Under the Mental Capacity Act 2005, which principle must be applied before concluding that a patient lacks capacity?