Fundamentals of Superconducting Nanoelectronics