Optical constants of polyimide films in the soft x-ray region from reflection and transmission measurements