historical significance of temples