Automatic surgical phase recognition in laparoscopic inguinal hernia repair with artificial intelligence