Tau Functions and Virasoro Symmetries for Drinfeld-Sokolov Hierarchies