Lithologic and climatologic controls of river chemistry