when was toji temple built