Cargo ship beached after collision in Bay of Gibraltar