Direct comparison of nonlinear and linear Kerr-effect measurements on thin Co films on Cu(001)