Comparative Study of Photomechanical Effects in Linear and Star Azopolymers