Flexible nanopositioning actuators based on functional nanocomposites