Quasi-elastic response functions at low energy transfer in 12C and 40Ca