The effect of the divalent metal on the intercalation capacity of stearate anions into layered double hydroxide nanolayers