Macro for ImageJ: it calculates the line profiles for a stack of images and prints them in the log window