G8 heads of states pose for a photograph in Heiligendamm