A charge model as an effective model of one-dimensional Hubbard and extended Hubbard systems: its application to linear optical spectrum calculations in large systems based upon many-body Wannier functions