The structure of singly-periodic minimal surfaces