Scaled effective on-site Coulomb interaction in the DFT+U method for correlated materials