Field dependence of the magnetization of melt textured and ceramic Y-Ba-Cu-O