Maximum torque per ampere and maximum power per ampere sliding mode control for interior permanent magnet synchronous motors