Condensing devices for steam engines