Refinements of Kantorovich type, Schwarz and Berezin number inequalities