Indian gymnast Dipa Karmakar has been suspended for 21 months for the use of prohibited substances.