How to Avoid a Psychopathic Artificial Intelligence