how does tooth decay happen