DiFair: A Benchmark for Disentangled Assessment of Gender Knowledge and Bias