Ground-state and finite-temperature properties of correlated ultracold bosons on optical lattices