Two-loop planar master integrals for the production of off-shell vector bosons in hadron collisions