A Lyapunov-type inequality for a fractional boundary value problem