Selective Excitation and Creation of Population Inversion in Quantum Systems Using Unipolar Attosecond and Terahertz Pulses