Polymatroidal ideals in two sets of variables