Drying-induced stresses in porous bodies