Self-Organization of Spiking Neural Networks for Visual Object Recognition