Weighted Fano varieties and infinitesimal Torelli problem