Find the volume of the solid whose base is the region enclosed by and , and the cross sections perpendicular to the -axis are squares.