Unsupervised Learning of a Hierarchical Spiking Neural Network for Optical Flow Estimation