Formation of hybrid stars from metastable hadronic stars