Exchange between perverse and weight filtration for the Hilbert schemes of points of two surfaces