Bipolar spintronics with generation-recombination of electrons and holes: Macroscopic equations