Task-based optimization of flip angle for fibrosis detection in T1-weighted MRI of liver.