Frequency-dependent failure mechanisms of nanocrystalline gold interconnect lines under general alternating current