QCD phase transitions from ordinary hadronic matter to locally deconfined quarks and gluons