Three American men are being hailed as heroes for overpowering a heavily-armed gunman on a train in northern France.