Design of indomethacin-loaded nanoparticles: effect of polymer matrix and surfactant