Hubble Space Telescope Observations of Circumnuclear Star-Forming Rings in NGC 1097 and NGC 6951