Duchon–Robert solutions for the Rayleigh–Taylor and Muskat problems