Phase diagram of dipolar hard and soft spheres: manipulation of colloidal crystal structures by an external field.