First principles study of structural, electronic, elastic and magnetic properties of cerium and praseodymium hydrogen system REHx (RE: Ce, Pr and x=2, 3)