Leak-free bound modes in photonic crystal films