Nonequilibrium phase transition of interacting bosons in an intra-cavity optical lattice.