On the performance of time-dependent density functional theory and polarizable continuum model in the study of aqueous formaldehyde