Laser pistols and optical pistols