Moody’s rates Brazil at investment grade