Adaptive flux and speed estimation for induction motors