Metal induced crystallization of amorphous silicon thin films studied by x-ray absorption fine structure spectroscopy