U.S. weekly offshore rig count rises to 27 units