A man has been taken to hospital after he was attacked in his east Belfast home by a gang of masked men armed with hammers.