Coastal defence using wave farms: The role of farm-to-coast distance