US: New York governor slams secret wedding as 'illegal'