Cohomological Hall algebra of a preprojective algebra and Yangian