On the relationship between galaxy formation and quasar evolution