Commutative vertex algebras and their degenerations