Study of shape transition in the neutron-rich Os isotopes