Phononic and photonic band gap structures: modelling and applications