Ordering of water in opals with different microstructures