Degradation of the performance of a YBCO-coated conductor double pancake coil due to epoxy impregnation