The two-point correlation function and morphological segregation in the Optical Redshift Survey