Rising oil and natural gas prices are good for pure-play energy producers, but they also carry risks.