Sound Source and Microphone Localization From Acoustic Impulse Responses