Miami closes beaches for July 4th