Theory of epitaxy in a Frank-van der Merwe model with anharmonic interactions