Modelling of photonic crystals: a comparison among various analysis methods