A Boston-based energy nonprofit announced Tuesday it’s helping a pair of San Diego community organizations by issuing grants that totaled $684,000 for the groups to purchase electric vehicles.