Chimera states in time-varying complex networks