Modeling unsteady heat and mass transfer with prediction of mechanical stresses in wood drying