Optimization of self-nanoemulsifying formulations for weakly basic lipophilic drugs: role of acidification and experimental design