The phases of hard sphere systems