Determination of the universal gas constant R and other metrological applications of speed of sound measurements