Black holes and membranes in higher-dimensional theories with dilaton fields