Neuronlike spiking dynamics in asymmetrically driven dissipative nonlinear photonic dimers