Insulator–metal transition and magnetoresistance of La0.5Ca0.5MnOy induced by tuning the oxygen content