Finite depth effects on the wave energy resource and the energy captured by a point absorber