Physical rehabilitation exercises assessment based on Hidden Semi-Markov Model by Kinect v2