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