Ben Stiller: ‘To have a real relationship with my children now, I feel very fortunate ... because it took me a while’