A bijective proof of the hook-length formula and its analogs