Probing the guided modes of a 2D photonic crystal slab using attenuated total reflectance