Charge density and single-particle structure: the nuclei39K,40Ca and48Ca