Effect of color superconductivity on the mass and radius of a quark star