Analysis of the FEL-RF interaction in recirculating, energy-recovering linacs with an FEL