when did trenton become new jersey state capital?