Pakistan to use nuclear technology for energy needs: PM