Loss of function of MECP2 in Rett syndrome