Planck 2015 results XXVII. The second Planck catalogue of Sunyaev-Zeldovich sources — scientific article