Collaborative Search and Target Capture of AUV Formations in Obstacle Environments