Compression failure of graphene sheets in polymer nanocomposites