Determination of effect of slot form on slot leakage flux at rotating electrical machines by the method of artificial neural networks