Neutron-capture nucleosynthesis in AGB stars