Exploring the origin of magnetic fields in massive stars: II. New magnetic field measurements in cluster and field stars