Diffusional and vibrational dynamics of low molecular weight polymers in bulk and confined state