Application to authorise a deprivation of liberty (section 4A(3) and 16(2)(a) of the Mental Capacity Act 2005)