Center image and resize to text width in LaTeX