A program for refining crystal structures from the profile of x-ray powder diagrams