Cuomo, National Grid reach agreement to lift gas hookup moratorium