QuasiBoolean algebras and simultaneously definite properties in quantum mechanics