Nonconvex nonsmooth optimization via convex–nonconvex majorization–minimization