Fundamental studies of interactions between polymer substrate and precursor in sequential infiltration synthesis