Determinants of the first inspiratory volume and functional residual capacity at birth