Numerical analysis of effects of tidal variations on storm surges and waves