Proteinlike dynamical transition of hydrated polymer chains