A theory of the rate of sublimation