On the optimization of experimental parameters for x-ray in-line phase-contrast imaging