Dynamics of crosshatch patterns in heteroepitaxy