Inheritance and capital gains tax