Context provenance to enhance the dependability of ambient intelligence systems