Japan, Germany ready to offer assistance to Pakistan with new leadership