Proton-temperature-anisotropy-driven magnetic fields in plasmas with cold and relativistically hot electrons