Bose-Einstein condensation of dipolar excitons in lateral traps