Investigation into the effects of filling materials on the dental tissues