c++ periodic instantons in phi^4