Championship club Bristol have signed Edinburgh forwards Ross Rennie and Stuart McInally on loan until the end of the season.