Why did the idea of republican motherhood lead to increased education for some women