Wave prediction based on a modified grey model MGM(1,1) for real-time control of wave energy converters in irregular waves