Performance analysis of two-phase queueing systems with state-dependent arrival rates unreliable server and impatient customers