Planck 2015 results. XX. Constraints on inflation