The circular polarization of internal and external bremsstrahlung