In situ synthesis of polyelectrolyte/layered double hydroxide intercalation compounds