Electric potential and surface oxygen ion density for planar, spherical and cylindrical metal oxide grains