Why ensuring mutual exclusion is important when accessing shared resources