Moral Learning through Legal Consequences