Dynamic elastography with finite element-based inversion