The symplectic cohomology of magnetic cotangent bundles