New York police shun mayor at funeral