Facebook to buy Instagram for $1 billion