Quantum Information Processing with Spin and Motional States of Trapped Ions