Cargo ship runs aground in Miami after losing propulsion