Formal causation: A thomistic proposal