Fermi Large Area Telescope Study of Cosmic Rays and the Interstellar Medium In Nearby Molecular Clouds