Integration of polar-analytic functions and applications to Boas' differentiation formula and Bernstein's inequality in Mellin setting