Stripe patterns in a model for block copolymers