Stability analysis of a non-conventional breakwater for wave energy conversion