Continuum models of heteroepitaxial growth on patterned substrates