Palaeoecology and diversity of endosymbionts in Palaeozoic marine invertebrates: Trace fossil evidence