Positive solutions of singular problems with sign changing Carathéodory nonlinearities depending on x