Three-Neutrino Oscillations in the Earth: Resonance Amplification and T-Violation Effects