Melanin protects us from harmful UV rays. But it also blocks our defenses against diabetes and cancer.