Climate Policy with Technology Transfers and Permit Trading