Investors are buying energy stocks in record amounts after a dip in oil prices