Cubic phases as structures of disclinations