Jordanian foreign ministry warns allowing Jewish prayer at Jerusalem holy site would have serious consequences, but Israeli foreign minister backs Erdan