On the initial-final mass relation and maximum mass of white dwarf progenitors