UK govt Minister Andrew Griffiths resigns over texts to women