Fast simulation of multifactor portfolio credit risk