Synthesis and characterization of a new layered compound of trimesic acid