First-principles study of structural and electronic properties of Al–Os intermetallic compounds