Volumes of sections of cubes and related problems