Nuclear physics aspects of neutron capture and ß-decay rates in stellar environment