Semiempirical equation of state and the Grüneisen parameter for polymers and rare gas solids