Planck 2015 results. XIV. Dark energy and modified gravity