Multilayer semiconductor structure for photoelectric devices