The velocity of sound and heat capacity in methane from near-critical to subcritical conditions and equation-of-state implications