The molecular mechanisms of light adaption in light-harvesting complexes of purple bacteria revealed by a multiscale modeling