An application of extensions of the Ramo–Shockley theorem to signals in silicon sensors