Trace element distribution in Neoproterozoic carbonates as palaeoenvironmental indicator