Optimizing the Interactions of Surfactants with Graphitic Surfaces and Clathrate Hydrates.