Detailed studies of a high-density polarized hydrogen gas target for storage rings