Five-dimensional optical recording