Biophysical basis for the geometry of conical stromatolites