A Two-Factor Model for PD and LGD Correlation