Prince William and Kate Middleton have shared a heartfelt statement following the death of Edward Pettifer