A mechanical characterization of polymer scaffolds and films at the macroscale and nanoscale