US tops Japan to take Olympic women's soccer gold