Model of texture development in polycrystalline films growing on amorphous substrates with different topographies