Study and improvement of the adhesion of chromium thin films deposited by magnetron sputtering