What is capacity to act and how does it form part of legal capacity.