Measurement of internal stress in Radiata pine sapwood during drying using an improved online sensor