Allergan buys rights to night urination treatment