Design of the 2.45 ghz ecr proton source and lebt in cphs (compact pulsed hadron source)