Holomorphic disks and genus bounds