A spiking neural network for extraction of features in colour opponent visual pathways and FPGA implementation