Linking of wave energy utilization with coastal protection