Applications of modern microdiffraction to materials science