Degenerate elliptic equations with singular nonlinearities