Divers in Indonesia have recovered a flight recorder from the sea bed, which could help determine what caused a Lion Air jet to crash into the Java Sea on Monday, killing 189 people.