Egyptians may have used hallucinogenic substances as part of a fertility rite, researchers say.