Rotational effects in dissociation of H2 on Pd(111): Quantum and classical study