Loss of calcareous microfossils from sediments through gypsum formation