Second-order optical response from a Bose-Einstein condensate of excitons