Exponential and Polynomial Stability Estimates for the Wave Equation and Maxwell's System with Memory Boundary Conditions