Bounds on the Superconducting Transition Temperature: Applications to Twisted Bilayer Graphene and Cold Atoms