Gravitational waves from known pulsars: Results from the initial detector era