Identities in upper triangular tropical matrix semigroups and the bicyclic monoid