Deformation properties of the neutron-deficient odd-A Pt and Hg nuclei