Ancient humans would eat their dead - and not because they had to, study suggests