Quality factor and intermodulation product of superconducting coplanar wave guides with slots in a DC magnetic field