An efficient scheme to tailor the magnetostructural transitions by staged quenching and cyclical ageing in hexagonal martensitic alloys