Two color free-electron laser and frequency beating