Extended x-ray absorption fine structure studies of oriented single crystals