A man and woman were taken to hospital after they were seriously assaulted in the Scottish capital.