Latvian premier hands in government's resignation to president