Script to split polygons in a postgis database into regular "fishnet" grid