Sum-frequency generation with a free-electron laser: A study of gallium phosphide | Synapse