Graded contractions of lie algebras and central extensions