A finite element model for evaluating the sound attenuation of hearing protectors