Structural, optical, and magnetic properties of polycrystalline Co-doped TiO2 synthesized by solid-state method