Dissipative Dicke model with nonlinear atom–photon interaction