Construction of two-bubble solutions for some energy-critical wave equations