Holographic codes from hyperinvariant tensor networks