The U.S. Postal Service will raise prices of domestic and international mail early next year after posting losses of $6.5 billion.