how do quasars form