How can we calculate each spouse's tax liability when married filing jointly?