Early mammals weren’t all loners, as scientists thought – some already lived in pairs alongside the dinosaurs