How Quantum Key Distribution Works (BB84 & E91)