Security guard jailed for robbing boss