Twistor spaces and harmonic maps