New York City cop gives sock and boots to barefoot homeless man