Quality assessment of amalgam and inlay restorations on posterior teeth: a retrospective study.