Scalarization in set optimization with solid and nonsolid ordering cones