Perceived legitimacy of normative expectations motivates compliance with social norms when nobody is watching