The hemispheric asymmetry of solar activity during the last century and the solar dynamo