Electric folding beds