Framework for integrating ocean wave power into maritime microgrids