Soft-x-ray camera for internal shape and current-density measurements on a noncircular tokamak