Campaigning ends for second phase of UP civic polls