Phase-resolved ultraviolet spectroscopy of the magnetic Of?p star HD 191612