America’s system of tipping at restaurants defies all economic logic