Investing in emerging markets can be risky, but there are plenty of safe bets in Brazil, Russia, India and China.