Autonomous detection and sampling of water types and fronts in a coastal upwelling system by an autonomous underwater vehicle