Molecular dynamics simulations of organically modified layered silicates