Samsung plans to release smartphones and other device chips based on the 5nm process next year