Photoisomerization of Self-Assembled Monolayers of Azobiphenyls: Simulations Highlight the Role of Packing and Defects