A switching dynamic generalized linear model to detect abnormal performances in Major League Baseball