Connection between spectral features of BK edge XANES of minerals and the local structure