The geodesy of Mercury with the missions MESSENGER and BepiColombo