Gravar-mail: Two-Dimensional Frontier-Based Viewpoint Generation for Exploring and Mapping Underwater Environments