Extension of 2-forms and symplectic varieties