Stellar magnetic field parameters from a Bayesian analysis of high‐resolution spectropolarimetric observations★