Deep learning based phenotyping of medical images improves power for gene discovery of complex disease