Glassy dynamics of two poly(ethylene glycol) derivatives in the bulk and in nanometric confinement as reflected in its inter- and intra-molecular interactions.