Ethics, Law, and Cognitive Science