Electronic interactions and charge transfers of metal atoms and clusters on oxide surfaces