May I possibly divert your attention for a moment from camera choice, and mention another thing that might help you out a ton, regardless of which camera you purchase? Since both of those cameras have M mode and a flash hotshoe, I'd also say consider getting (at least a little bit) into
off-camera lighting. With macro/table top shots, etc. and especially with a small-sensor camera, off-camera lighting can make a very big difference by adding enough light into the scene that you don't have to get into the territory of where those cameras don't perform so great (low light), as well as giving you the freedom to control and create the light, not just shoot what light is there.
And the cost of the gear is not astronomical. I shot the following with my G3 and a bare YN-560 (US$60) with RF602 triggers (US$25), simply held in my left hand:
A little bit of off-axis fill flash can go a looong way. See also the Strobist sunflower shot done with a Powershot G7:
https://www.flickr.com/photos/31454864@N00/1327354590/