Thousands of Turks have rallied in Ankara to protest against a government plan to allow women to wear the Islamic headscarf in Turkish universities.