when did trenton become new jerseys state capital?