In situ measurement of wood stress during drying process