Post-Newtonian generation of gravitational waves in a theory of gravity with torsion