Social basis of bhakti as reflected in religious festivals of South India: a case study of Kodungallur bhagavati temple