The effects of immediate and delayed feedback on the retention of factual and rule learning