Perverse filtrations and the P=W conjecture