Line and continuum variability of two intermediate-redshift, high-luminosity quasars