The effects of beam quality and optical density on image quality in dental radiography