Electromechanical instabilities in electroactive polymeric thin films