Photo and electrically switchable behavior of azobenzene containing pendant bent‐core liquid crystalline polymers