A study of the Chamaeleon star forming region from the ROSAT all-sky survey. I. X-ray observations and optical identifications.