Man charged with attempted homicide after argument in Madison motel