New Jersey man taken into custody after walking into a New York cathedral with two gasoline cans and lighters