Long Memory in Integrated and Realized Variance