On Opial-type integral inequalities