A state funeral for the victims of Italy's earthquake has been held as the death toll from Monday's disaster reached 287.