Perfect reconstruction of sparse signals with piecewise continuous nonconvex penalties and nonconvexity control