Consistent transactions in MongoDB