Development of a nearshore oscillating surge wave energy converter with variable geometry