Molecular dynamics of the encapsulation of fullerene derivatives in tetragonal prismatic nanocapsules