The molecular structure and dynamics of short oligomers of PMDA-ODA and BCDA-ODA polyimides in the absence and presence of water