The Proterozoic-Phanerozoic transition and the Precambrian-Cambrian boundary