Radiative non-isothermal Bondi accretion onto a massive black hole