Determination of gamma ray energy through measurement of the opening angles of the materialisation pairs created in a spark chamber