Mark Bates, 32, was found in his cell by other inmates, an inquest has heard.