Development of a Muon Linac for the G-2/EDM Experiment at J-PARC