Capacitated Location Problems on a Line