Write a gromacs index file for the leaflets of a bilayer.