Linn Energy spends $2.5 billion to acquire Berry Petroleum