Edge-fault-tolerant properties of hypercubes and folded hypercubes