Quantifying the global wave power resource