Effect algebras and extensions of measures