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