Local structure of spin-crossover complex studied by x-ray absorption spectroscopy: nature of photo-induced phase