Polar and longitudinal magnetooptical Kerr effects in magnetic film/spacer/magnetic substrate system