Modelling and design of complete photonic band gaps in two-dimensional photonic crystals