Mechanics of the middle ear in otosclerosis and stapedoplasty