Understanding artificial intelligence ethics and safety