having an emitter-base junction leaving at a main surface and a base-collector junction leaving at a peripheral surface of the body