The cogging torque measurement through a new validated methodology