The topology of complete minimal surfaces of finite total Gaussian curvature