Text this: Parametric X-ray radiation and texture of polycrystalline foils