Effect of soil and bedrock anelasticity on the S -wave amplification function