Impacts of component audibility and noise masking on spectral weighting of sound-localization cues