SIMULTANEOUS ULTRAVIOLET AND OPTICAL EMISSION-LINE PROFILES OF QUASARS: IMPLICATIONS FOR BLACK HOLE MASS DETERMINATION