Romanian president announces resignation amid growing political pressure