An Edinburgh rapist who subjected three young children to a campaign of sexual abuse has been jailed.