Coding of space and time in cortical structures