Determination of Temperature Dynamics and Mechanical and Stator Losses Relationships in a Three-Phase Induction Motor Using Fiber Bragg Grating Sensors