Which ethical theory holds that the morality of an action is determined solely by its outcomes or consequences?