Scanning microdiffraction of polymers