Non-destructive determination of phase, size, and strain of individual grains in polycrystalline photovoltaic materials