Symmetric general linear methods