Giant Spin Hall Effect and Anomalous Hall Effect in Solids with Strong Spin-Orbit Coupling