Proton-induced L-shell X-ray production cross sections and their ratios