Effect of core–mantle and tidal torques on Mercury’s spin axis orientation