PepsiCo's senior long-term debt rating has been raised by Moody's.