Surface Kondo effect and non-trivial metallic state of the Kondo insulator YbB12