CONNECTION BETWEEN THE CIRCUMGALACTIC MEDIUM AND THE INTERSTELLAR MEDIUM OF GALAXIES: RESULTS FROM THE COS-GASS SURVEY