Shape transition in some rare earth nuclei in relativistic mean field theory