Analytical study of the interaction between waves and cylindrical wave energy converters oscillating in two modes