Conditional Many-Body Dynamics And Quantum Control Of Ultracold Fermions And Bosons In Optical Lattices Coupled To Quantized Light