Automatic peak determination in X‐ray powder patterns