Efficient geometry optimization of molecular clusters