The function of the ossicles (malleus, incus and stapes) in the mammalian ear is