Global pattern of trends in streamflow and water availability in a changing climate