Edwards’ approach to horizontal and vertical segregation in a mixture of hard spheres under gravity