Heavy rains submerge temple in southern India; local authorities criticized for inaction