Design, control and application of double-stator permanent magnet brushless machines