Behavior of light at photonic crystal interfaces