Structural, optical, elastic and magnetic properties of Ce and Dy doped cobalt ferrites