A molecular approach to solid-state synthesis: prediction and synthesis of self-assembled infinite rods