Greek caretaker government sworn in ahead of early elections