How does friction affect simple harmonic motion?