Dynamics and rheology of a dilute suspension of dipolar nonspherical particles in an external field: Part 1. Steady shear flows