Sonar for environmental monitoring of marine renewable energy technologies