Directional emission from rare earth ions in inverse photonic crystals