White dwarf pollution by planets in stellar binaries