Interacting elliptical galaxies as hosts of intermediate-redshift quasars