R-parity violating SUSY or leptoquarks: virtual effects in dilepton production