Magnetism of hexagonal 4d transition metal monolayers