Plane shock waves and Haff’s law in a granular gas