Berkshire sheds General Motors and Procter & Gamble as it builds cash