Analytic Solution to the Modified Mild-Slope Equation for Reflection by a Rectangular Breakwater with Scour Trenches