Characterization of thin plastic foils for applications in x-ray optics technology