Diffusion and vibration of CO molecules adsorbed on a Cu(100) surface: A periodic density functional theory study