Differentiable programming for Kohn-Sham DFT: energy derivatives with respect to the parameters of exchange-correlation functional at linear cost | Synapse