Study of surfaces and interfaces by scanning photoemission microscopy