Application of surfactants in pharmaceutical dosage forms