The solution was quite simple. I just set the Simplify value in Blender to 0 (it was 1). And also changed the value in the Compression Error Threshold Scale animation settings to 10 (it was 1). Now the animations look exactly the same as in Blender.