Estimating wave energy flux from significant wave height and peak period