Big bang nucleosynthesis revisited