Photon production in nucleon-nucleon collisions