Study of ultrasonic absorption in the intermediate state, and normal and superconducting states of pure and doped type-1 superconductors