Substrate topography and shape of motile cells