A physical model for co-evolution of QSOs and of their spheroidal hosts