A model of the three-dimensional evolution of Arctic melt ponds on first-year and multiyear sea ice