You can contribute to your spouse's RRSP and have the contribution deducted from your taxable income, even if you aren't the beneficiary.
You can't contribute to your spouse's TFSA. You can give your spouse money to contribute to their TFSA but this amount or any earned income from that amount will not be attributed back to you.