The reinterpretation of dreams: An evolutionary hypothesis of the function of dreaming