Adaptive echolocation behavior in bats for the analysis of auditory scenes