Disordered, quasicrystalline and crystalline phases of densely packed tetrahedra