Performance Monitoring and Automatic Operating Mode Detection Based on the Statistical Analysis of Ship Data