Two separate bus crashes in Pakistan have killed at least 36 people, with both buses plunging into ravines.