Excitons and trions with negative effective masses in two-dimensional semiconductors