The mechanics of ancient Egyptian magical practice