Quantum Chemistry Calculations Of Energetic And Spectroscopic Properties Of P- And F-Block Molecules