A peace officer or private person may not subject a person arrested to greater restraint than is necessary and proper for the arrest and detention of the person.