Theory of Input Spike Auto- and Cross-Correlations and Their Effect on the Response of Spiking Neurons