Bio-inspired temporal-decoding network topologies for the accurate recognition of spike patterns