A continuum plasticity model that accounts for hardening and size effects in thin films