Apparatus for transporting beds