Two and three descent for elliptic curves associated with perfect cuboids