Phase transitions of malonic and oxalic acid aerosols