Ramanujan's lost notebook: Combinatorial proofs of identities associated with Heine's transformation or partial theta functions