The European Commission began formal disciplinary procedures against Spain and Portugal on Thursday for their excessive deficits in 2014 and 2015.