Linking xylem diameter variations with sap flow measurements