Enhancement of the crystal size and magnetic properties of Mg-substituted Co ferrite