Mexico advances despite loss to Sweden