The stability of grain boundary cavities in copper