Big bang nucleosynthesis and the quark-hadron transition