The effect of hydrodynamical instabilities and of convection in the conversion of an hadronic star to a more compact object