Labour market participation and frictional unemployment in stochastic equilibria