Application of longitudinal generalized magneto-optical ellipsometry in magnetic ultrathin films