Theoretical studies on electronic structure and high pressure behaviour of la and Pr pnictides and chalcogenides