Controlled bidirectional remote preparation of three-qubit state