Magic and the laws of physics