Quantum Memristors in Quantum Photonics