The Chandra COSMOS Survey: III. Optical and Infrared Identification of X-ray Point Sources