The abundance of sulfur in extragalactic H II regions