The 1978-1995 variability of the symbiotic star AG Pegasi in the ultraviolet