Control over the spectral position of the band gap of opal photonic crystals