Searches for Gravitational Waves from Known Pulsars at Two Harmonics in 2015-2017 LIGO Data