MUSEQuBES: the column density, covering fraction, and mass of O VI-bearing gas in and around low-redshift galaxies