Advanced Quantum ESPRESSO school: Hubbard and Koopmans functionals from linear response