Production of Pions in Nucleon-Nucleon Collisions at Cyclotron Energies