Galvano-thermomagnetic effects in degenerate semiconductors and semimetals with nonparabolic band shapes: II. General theory