Refractive index detection via magneto-optical Goos-Hänchen effect in multilayer structure containing magnetic film