Magnetic-field modulation of the Josephson effect between UPt3 and a conventional superconductor