Nucleocytoplasmic segregation of proteins and RNAs