Distinct effects of nuclear membrane localization on gene transcription silencing in Drosophila S2 cells and germ cells.