Biologically plausible solutions for spiking networks with efficient coding