Development of an SPH based numerical wave current tank and application to wave energy converters