Sweden edge Switzerland 1-0 to reach quarterfinals