Determination of the elastic constants of isotropic solids by optical heterodyne interferometry