Solitary shock waves and other travelling waves in a general compressible hyperelastic rod