Neutrino energy loss in stellar interiors. III. Pair, photo-, plasma, and bremsstrahlung processes