Climate cooperation with technology investments and border carbon adjustment