The ionospheric wind dynamo - II. Solar tides