Tetrahedral framework of inverse opal photonic crystals defines the optical response and photonic band gap