A(n) ____________________, which allows current to flow in one direction only, consists of two types of semiconductors joined together.