Elementary school principal pleads guilty to DWI charges