Molecular simulation of droplet collision in the presence of ambient gas