Semianalytical Solutions of Shoreline Response to Time-Varying Wave Conditions