Man with no gun license inadvertently shoots himself in genitals