Design of an ultraviolet filter based on photonic band‐gap materials