How giving away some winning stocks can help cut taxes and balance your portfolio