Bhakti as a strategy for the legitimisation of power in the late medieval Kerala