Bending behaviour of carbon nanobeams