Quantum dynamical field theory for nonequilibrium phase transitions in driven open systems