The interior structure of Mercury constrained by the low-degree gravity field and the rotation of Mercury