China frees three Japanese detained for entering military zone