Mourners attend Hoffman's funeral in New York