Optimal Causal Control of a Wave Energy Converter in Random Sea