Interaction of alkylamines with different types of layered compounds