Text this: Optimal beam quality selection based on contrast-to-noise ratio and mean glandular dose in digital mammography