A consistent computational framework for finite micropolar hyper-elastoplasticity: formulation, linearization and application to the simulation of size effects