Statistical Functional Data Approach to Early Detection and Diagnostics. With Application to Steam Sterilizers