Asynchronous parallel algorithms for nonconvex optimization