Miami Beach has imposed a midnight spring break curfew and declared a state of emergency after shootings left five people wounded.