Ultrafast carrier and phonon dynamics in GaAs and GaN quantum dots