Cyclic and secular variation in microfossil biomineralization: clues to the biogeochemical evolution of Phanerozoic oceans