Chevron to buy Noble Energy in deal valued at $5 billion