How is Capital Gains Tax calculated on UK shares?