Managing capital gains to reduce tax and boost your super