On Opial-type inequalities via fractional calculus