AOL to buy Huffington Post for $315 million