Improving remote sensing retrieval of global ocean transparency with optical water classification