Wave-induced set-up and flow over shoals and coral reefs. Part 1. A simplified bottom geometry case