Interpretation of bent-crystal rocking curves