Which ethical theory holds that the morality of an action is determined solely by its consequences for overall well-being?