Concentration on minimal submanifolds for a Yamabe-type problem