Extinction and fixation times with dominance and inbreeding