Magnetic anisotropy around the successive two transitions in SmRu4P12SmRu4P12