Optical Properties of X-Ray Clusters of Galaxies