Dipolar interaction induced band gaps and flat modes in surface-modulated magnonic crystals