New frontiers in quantum electrodynamics and quantum optics