RESEARCH NOTE Analytical approach to the thermodynamics and density distribution of crystalline phases of hard spheres