Coherent charge and spin density waves in underdoped HgBa2CuO4+δ