by semiconductor devices comprising at least one PN junction