Ultra-compact and efficient on-chip diffraction neural network based on dual optimization of physical constraints | Synapse