Chiral surface twists and skyrmion stability in nanolayers of cubic helimagnets