The Laws of Robots: Crimes, Contracts, and Torts