Vacuum energy in Quantum Field Theory and Cosmology