Investing in quality energy stocks such as CNQ and BEP can help you benefit from a growing dividend yield and capital gains.