Simulating quantum statistics with entangled photons: a continuous transition from bosons to fermions