Instanton-inspired model of QCD phase transitions and bubble dynamics