Analytical expressions for the internal and kinetic energy distributions of sputtered clusters and molecules