Magneto-optical study of the intermediate state in type-I superconductors: effects of sample shape and applied current