On S-shaped and reversed S-shaped bifurcation curves for singular problems