Convex and linear effect algebras