Perpetual-motion machines