Evolution of electric polarization and magnetic properties in half-Cr-doped YMnO3 films in response to epitaxial strain