Double filtration of twisted logarithmic complex and Gauss–Manin connection