A density functional and quantum Monte Carlo study of glutamic acid in vacuo and in a dielectric continuum medium