Bidirectional Two-Terminal Switching Device with Metal–Semiconductor–Semiconductor Structures for 4F2 Spin-Transfer-Torque Magnetoresistance Random Access Memory Cell