Formation of cadmium-containing W-type hexagonal ferrite