Functional analysis of the N- and C-terminus of mammalian G9a histone H3 methyltransferase