An investigation into behaviour of electroactive polymers as mechanical sensors