Atomic-scale finite element modelling of mechanical behaviour of graphene nanoribbons