Severi varieties and Brill–Noether theory of curves on abelian surfaces