Investigation of phase diagrams and physical stability of drug–polymer solid dispersions