Twelve police officers were injured and 16 arrests were made in the second night of unrest in Northern Ireland.