First-principles study of nickel complex with 1,3-dithiole-2-thione-4,5-dithiolate ligands as model photosensitizers