Chern-Simons states and topologically massive gauge theories