Single-particle versus pair superfluidity in a bilayer system of dipolar bosons