Rio de Janeiro is in the grip of a remarkable transformation as it readies itself for the World Cup spotlight.