factors affecting tooth filling cost