Bias-dependent Peltier coefficient and internal cooling in bipolar devices