Understanding coastal impacts by nearshore wave farms using a phase-resolving wave model