When can my can I claim a percentage of my spouse's capital gain on a real estate sale?