Planck 2015 results. XXII. A map of the thermal Sunyaev-Zeldovich effect