The priesthoods of public religion were held by members of the elite classes. As a result of what war were many new temples built by victorious generals?