New York lawmakers approve ban on offshore drilling