Obtuse cones and Gram matrices with nonnegative inverse