Understanding The Behavior Of Surfactant Molecules Near Metal-Water And Air-Waterinterfaces Via Molecular Simulations