Two-temperature model of spherical accretion onto a black hole